Be                Cr               Mn                  Fe          
 Min.   :0.00000   Min.   :0.0000   Min.   :   0.0000   Min.   :   0.000  
 1st Qu.:0.00000   1st Qu.:0.0000   1st Qu.:   0.5921   1st Qu.:   2.587  
 Median :0.00000   Median :0.0000   Median :   2.3850   Median :  11.171  
 Mean   :0.02552   Mean   :0.1995   Mean   :  55.8743   Mean   :  88.809  
 3rd Qu.:0.00000   3rd Qu.:0.1100   3rd Qu.:  14.9455   3rd Qu.:  43.038  
 Max.   :0.47000   Max.   :3.6792   Max.   :2594.0600   Max.   :1370.356  
       Ni                Cu                 As                 Se         
 Min.   :0.00000   Min.   :   0.120   Min.   :  0.0000   Min.   :0.00000  
 1st Qu.:0.08704   1st Qu.:   5.842   1st Qu.:  0.1033   1st Qu.:0.04417  
 Median :0.33013   Median :  32.280   Median :  0.5207   Median :0.09043  
 Mean   :1.13954   Mean   : 141.456   Mean   : 11.0786   Mean   :0.10569  
 3rd Qu.:1.21730   3rd Qu.: 139.486   3rd Qu.:  3.8104   3rd Qu.:0.14399  
 Max.   :7.11000   Max.   :3228.015   Max.   :717.9056   Max.   :0.40000  
       Cd                 Sb                Ba                 Tl         
 Min.   :0.000000   Min.   :0.00000   Min.   :  0.0000   Min.   :0.00000  
 1st Qu.:0.000000   1st Qu.:0.00000   1st Qu.:  0.6428   1st Qu.:0.00000  
 Median :0.006647   Median :0.02133   Median :  3.8087   Median :0.00000  
 Mean   :0.028784   Mean   :0.07261   Mean   : 13.4774   Mean   :0.00485  
 3rd Qu.:0.020000   3rd Qu.:0.05047   3rd Qu.:  9.1386   3rd Qu.:0.00000  
 Max.   :0.411806   Max.   :1.49568   Max.   :197.6416   Max.   :0.29000  
       Pb                 U                 CCU           
 Min.   : 0.01000   Min.   :   0.000   Min.   :  0.04017  
 1st Qu.: 0.09975   1st Qu.:   0.116   1st Qu.:  0.55615  
 Median : 0.35904   Median :   1.002   Median :  1.22744  
 Mean   : 1.62066   Mean   :  56.602   Mean   :  4.67386  
 3rd Qu.: 1.15189   3rd Qu.:   8.181   3rd Qu.:  2.69344  
 Max.   :20.09000   Max.   :3274.370   Max.   :109.91031  

Plots for variation of metal concentrations across each sample




Box Plots of Metals - Identification of outliers and extreme points





Larval Activity Traces




  AVG_Distance      AVG_Distance_Control Control_Distance
 Min.   :   1.519   Min.   :-407.26      Min.   :278.4   
 1st Qu.: 163.405   1st Qu.:-171.02      1st Qu.:290.0   
 Median : 261.668   Median : -70.70      Median :310.1   
 Mean   : 369.039   Mean   :  31.88      Mean   :337.2   
 3rd Qu.: 438.187   3rd Qu.:  99.99      3rd Qu.:390.9   
 Max.   :2569.212   Max.   :2279.25      Max.   :416.5   


Variables in the newly created data set:

# A tibble: 10 × 6
   Sample  Time `Dark/Light` mean_D mean_DC mean_C
    <dbl> <dbl> <chr>         <dbl>   <dbl>  <dbl>
 1      1     5 D              286.    7.29   278.
 2      1    10 L              310.   20.1    290.
 3      1    15 D              444.   53.6    391.
 4      1    20 L              286.  -23.8    310.
 5      1    25 D              476.   59.9    416.
 6      2     5 D              179.  -99.1    278.
 7      2    10 L              210.  -80.0    290.
 8      2    15 D              210. -181.     391.
 9      2    20 L              199. -111.     310.
10      2    25 D              215. -202.     416.



Correlation matrix of concentration data and aggregate behavioral distance travelled

Created the “aggregate behavioral outcome” (ABO) variable in the metal_conc_data data set to produce the correlation matrix:

A low (0.2-0.35) positive linear correlation could be observed between ABO and:

A low (0.2-0.35) negative linear correlation could be observed between ABO and:


P-values for the correlation between metal and ABO.

   Var1 Var2     p_value
1    Be  ABO 0.115867212
2    Cr  ABO 0.541904090
3    Mn  ABO 0.434883761
4    Fe  ABO 0.281244372
5    Ni  ABO 0.000943512
6    Cu  ABO 0.051207367
7    As  ABO 0.823109698
8    Se  ABO 0.182787616
9    Cd  ABO 0.049504434
10   Sb  ABO 0.612821775
11   Ba  ABO 0.050493317
12   Tl  ABO 0.130149233
13   Pb  ABO 0.007649839
14    U  ABO 0.048645237

The metals Be, Ni, Cu, Cd, Ba, Tl, Pb and U have a P-value less than 0.15.